import React from 'react'
import {
    HashRouter as Router,
    Route,
    Switch
} from 'react-router-dom'
import App from './App'
import Home from "./pages/home";
import ButtonUi from './pages/ui/button'
export default class Irouter extends React.Component {
    constructor(props){
        super(props);
    }
    render() {
        return (< Router>
            <div>
                <Switch>
                <Route path="/detail"></Route>
                <Route path="/" component={App} >
                           
                </Route>
                </Switch>
            </div>
        </Router>)
    }
}